import { Http } from '@/common/api'
// 用户管理
export const listUrl = '/srm/rectify/supply/page'

/**
 * 完成整改通知
 * @param params
 * @returns {Promise<unknown>}
 */
export const apiCompleteRectifyInform = async (params) => Http.put('/srm/rectify/supply/complete', params)
/**
 * 回复整改通知
 * @param params
 * @returns {Promise<unknown>}
 */
export const apiReplyRectifyInform = async (params) => Http.put('/srm/rectify/supply/reply', params)
/**
 * 获取整改通知详情
 * @param rectifyId
 * @returns {Promise<unknown>}
 */
export const apiGetRectifyInformDetail = async (rectifyId) => Http.get(`/srm/rectify/detail?rectifyId=${rectifyId}`)
